//
//  ContactDeleteViewController.h
//  HandyDialer
//
//	Developed by Team Synergy
//  Created by Jacky Li on 11/24/11.
//  Coders: Jacky Li and Jordan Tseng 
//  Graphic Designer: Derek Fong
//  Developer: Brad Lisson, Derek Fong, Jacky Li, Jeremy Gangoso, Jordan Tseng
//  Copyright HandyDialer 2011. All rights reserved.
//
//  Class Descrption:  
//
//  Member Variables:
// int rowCounter
//  - stores which row the highlighting is at
// NSTimer *uniTimer
//  - Highlighting done in seconds
// NSUserDefaults *defaults
//  - Setting default status of the Search Directory
// float speed
//  - stores how fast the speed is going  
// NSString *highlightColor
//   - type of color highligh is done in
// NSString *themeColor
//   - type of theme for the whole application
//  Member functions:
//  + (IBAction)switchView:(id)sender
//                  - Actually switching to that screen 
//  + (void)highlightChange:(NSString *)picture;
//                  - hilights which option to go to next
//  + (void)loadContactInfo;
//                  - where contact informations, first name, last name, number are loaded
//  + (NSString *)getContactName;
//                  - process of obtaining the contact information               - 
//  + (void)optionChange
//                  - change which view to go to base on the selection of options
//	+ (void)returnToView:(NSString *)viewName:(UIViewController *)previousView
//					- recursively traverse parent views to find the view to return to
//  + (NSString *)stripNumber:(NSString *)rawNumber;
//              - strips the space and the ( ) in the number being sent to call
//
//	Bugs (unfixed):
//				None found so far
//
//	Unfinished Features:
//				None
//

#import <UIKit/UIKit.h>
#import <AddressBook/AddressBook.h>
#import "DataStorage.h"

@interface ContactDeleteViewController : UIViewController
{
    int counter;
    NSTimer *uniTimer;
    NSUserDefaults *defaults;
    float speed;
	NSString *contactMainNumber;
    NSString *highlightColor;
    NSString *themeColor;
	ABRecordRef currentContact;
    IBOutlet UIImageView *highlightArea;   
    IBOutlet UIImageView *backgroundArea;
	IBOutlet UILabel *contactInfo;
	
}

- (IBAction)switchView:(id)sender;

- (void)highlightChange:(NSString *)picture;

- (void)optionChange;

- (void)loadContactInfo;

- (NSString *)getContactName;

- (ABMultiValueRef)getContactProperty:(ABPropertyType)property;

- (void)returnToView:(NSString *)viewName:(UIViewController *)previousView;

- (NSString *)stripNumber:(NSString *)rawNumber;

@property (nonatomic, retain)UILabel *contactInfo;

@property (nonatomic, retain)UIImageView *highlightArea;
@property (nonatomic, retain)UIImageView *backgroundArea;


@end
